package com.ruoyi.system.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.system.api.factory.RemoteAccountFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @description:账套服务
 * @author: Yuan
 * @create: 2025-02-27 14:55
 **/
@FeignClient(contextId = "remoteAccountService",value = ServiceNameConstants.BASE_SERVICE,fallbackFactory = RemoteAccountFallbackFactory.class)
public interface RemoteAccountService {

    /**
    * @Description: 获取当前用户账套id
    * @Param: []
    * @return: java.lang.Long
    * @Author: Yuan
    * @Date: 2025/2/27
    */
    @GetMapping("/defaultAccount/getAccountId")
    public Long getAccountId();

}
